package com.dongdong.em;

public enum ResultEmnu {

    SUCCESS(10000,"操作成功"),
    ERROR(10001,"操作失败"),
    NOLOGIN(10002,"没有登录"),
    ARGS_ERROR(10003,"参数异常"),
    SALE_OVER(10004,"商品已经售罄");
    private Integer code;
    private String message;

    ResultEmnu(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResultEmnu() {
    }

}
